package com.google.shop.product.repository.card;

import com.google.shop.product.entity.card.Card;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/repository/card/CardRepository.class */
public interface CardRepository extends JpaRepository<Card, Integer> {
    List<Card> findListByBuyerId(Integer num);

    Card findCardByCardSkuId(Integer num);

    @Transactional
    Integer deleteByBuyerIdAndCardSkuIsopt(Integer num, Integer num2);

    List<Card> findCardsByBuyerIdAndAndCardSkuIsopt(Integer num, Integer num2);

    Card findCardByCardSkuIdAndBuyerId(Integer num, Integer num2);
}
